package com.fuchuang.seckillsystem;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication()
@MapperScan("com.fuchuang.seckillsystem.mapper")
@EnableScheduling
@EnableTransactionManagement
public class SeckillSystemApplication {
    
    //解决druid警告日志
    static {
        System.setProperty("druid.mysql.usePingMethod", "false");
    }
    
    public static void main(String[] args) {
        SpringApplication.run(SeckillSystemApplication.class, args);
    }
}
